﻿<UserControl xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  x:Class="ScrewTurnHelper.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="591">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="96*" />
            <RowDefinition Height="30" />
            <RowDefinition Height="148*" />
        </Grid.RowDefinitions>
        <TextBox 
            Name="input" 
            HorizontalScrollBarVisibility="Visible" 
            VerticalScrollBarVisibility="Visible" 
            AcceptsReturn="True" 
            Grid.Row="0" />
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="100" />
                <ColumnDefinition Width="100" />
            </Grid.ColumnDefinitions>
            <Button 
                Content="Tab To Table" 
                Grid.Column="0"
                HorizontalAlignment="Left" 
                Name="tabToTableButton" 
                Click="tabToTableButtonClick" Width="86" />
            <Button 
                Content="Csv To Table" 
                Grid.Column="1"
                HorizontalAlignment="Left" 
                Name="csvToTableButton" 
                Click="csvToTableButtonClick" Width="86" />
            <Button 
                Content="Pascal Hilite" 
                Grid.Column="2"
                HorizontalAlignment="Left" 
                Name="pascalHiliteButton" 
                Click="pascalHiliteClick" Width="86" />
            <Button 
                Content="C# Hilite" 
                Grid.Column="3"
                HorizontalAlignment="Left" 
                Name="csharpHiliteButton" 
                Click="csharpHiliteClick" Width="86" />
            <Button 
                Content="TSQL Hilite" 
                Grid.Column="4"
                HorizontalAlignment="Left" 
                Name="tsqlHiliteButton" 
                Click="tsqlHiliteClick" Width="86" />
        </Grid>
        <TextBox 
            Name="output" 
            HorizontalScrollBarVisibility="Visible" 
            VerticalScrollBarVisibility="Visible" 
            AcceptsReturn="True" 
            Grid.Row="2"/>
    </Grid>
</UserControl>
